package com.culturalCenter.dataCenter.customEntity.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

/**
 * 自定义用户最近浏览记录或活动记录实体类
 *
 * @author ISMC
 * @since 2021/1/26 14:25
 */
@Data
public class CustomUserRecent {

    /**
     * 活动名称
     */
    private String activityName;
    /**
     * 活动类型：1-活动；2-培训
     */
    private Integer activityType;
    /**
     * 活动开始时间
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Date beginTime;
    /**
     * 活动结束时间
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Date endTime;
    /**
     * 浏览时间
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Date time;

}
